//implement some frame function

//implement GIOStream

#include "GIOStream.h"

GIOStream::GIOStream()
{
}

GIOStream::~GIOStream()
{
}

int GIOStream::print(const char* format, ...)
{
    va_list args;
    va_start(args, format);

    char* buf[1024];
    int size = vsprintf(buf, format, args);

    write(buf, size);

    va_end(args);

    return size;
}

int GIOStream::scan(const char* format, ...)
{
    return 0;
}


//implement GIOStreamFactory
GIOStreamFactory* GIOStreamFactory::_ioFactory = 0;

GIOStreamFactory::GIOStreamFactory()
{
}

GIOStreamFactory::~GIOStreamFactory()
{
}
